Resursbank\Ecom\Lib\Model\Payment S

Total Complexity 40
Dependencies 13
Dependents 18
Total lines 272
Lines of code 127
Logical lines of code 35
Comment lines 82
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
isCaptured()
S
62 6 12
isCancelled()
S
60 5 15
canPerformAction()
S
64 4 11
isRefunded()
S
65 4 10
isFrozen()
S
74 2 5
isRejectedReason()
S
76 2 4
__construct()
S
81 1 3
canCancel()
S
80 1 3
canPartiallyCancel()
S
75 1 5
canCapture()
S
80 1 3
canPartiallyCapture()
S
75 1 5
canRefund()
S
80 1 3
canPartiallyRefund()
S
75 1 5
canCredit()
S
81 1 3
isRejected()
S
80 1 3
isRejectionReasonCreditDenied()
S
75 1 5
isRejectionReasonTimeout()
S
80 1 3
isRejectionReasonInsufficientFunds()
S
75 1 5
isRejectionReasonCanceled()
S
75 1 5
isRejectionReasonTechnicalError()
S
75 1 5
isRejectionReasonAbortedByCustomer()
S
75 1 5
isProcessable()
S
71 1 6
isOlderThan()
S
78 1 3